@extends("default.common.layout")
@section('content')
    <div class="body-center">
        <!-- 新闻中心-->
        <div class="container news-center-box">
            <div class="row">
                <div class="col-12 col-sm-5 col-md-4 col-lg-3 col-xl-2">
                    <ul class="navigation">
                        <p>新闻中心</p>
                        <li @if((int)$id === 3) class="active" @endif><a href="/article/3.html">公司公告</a></li>
                        <li @if((int)$id === 4) class="active" @endif><a href="/article/4.html">新闻资讯</a></li>
                    </ul>
                </div>
                <div class="col-12 col-sm-7 col-md-8 col-lg-9 col-xl-10">
                    <div class="notice">
                        <nav aria-label="breadcrumb">
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item">
                                    <a href="/"><span class="iconfont">&#xe858;</span>首页</a>
                                </li>
                                <li class="breadcrumb-item">
                                    <a href="/article.html">新闻中心</a>
                                </li>
                                <li class="breadcrumb-item" aria-current="page">
                                    <a href="javascript:void(0)">公司公告</a>
                                </li>
                            </ol>
                        </nav>
                        <div class="content-list">
                            <ul>
                                @T:archives(tid=$id, row='20')
                                    <li>
                                        <a href="/article/detail_{{$field['id']}}.html">
                                            <span class="illustrate">【@if($id ===3) 公司公告 @else 新闻资讯 @endif】</span>
                                            <span class="title">{{$field['title']}}</span>
                                            <span class="time">{{date("Y/m/d", strtotime($field['created_at']))}}</span>
                                        </a>
                                    </li>
                                @T:end

                            </ul>
                        </div>
                        <!--
                        <div class="paging">
                            <a href="" class="btn">第一页</a>
                            <nav aria-label="Page navigation example">
                                <ul class="pagination">
                                    <li class="page-item iconfont">
                                        <a class="page-link" href="#">&#xe83d;</a>
                                    </li>
                                    <li class="page-item">
                                        <a class="page-link" href="#">1</a>
                                    </li>
                                    <li class="page-item iconfont">
                                        <a class="page-link" href="#">&#xe841;</a>
                                    </li>
                                </ul>
                            </nav>
                            <a href="" class="btn">最后一页</a>
                        </div>
                        -->
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection

